<script type="text/javascript" src="{$BASE}js/tools.js"></script>
<script type="text/javascript" src="{$BASE}js/xheditor/jquery/jquery-1.4.2.min.js"></script>
<script language="javascript">
jq = jQuery.noConflict(); 
</script>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="691"><img src="{$BASE_V}images/c_logo.gif" width="685" height="118" /></td>
    <td width="259" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="yellow12">
      <tr>
        <td align="right"><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$config[cfg_indexurl]');" href="#">设为首页</a>&nbsp;&nbsp;  |&nbsp;&nbsp;  <a href="#" onclick="addfavorite()">加入收藏</a></td>
      </tr>
      <tr>
        <td align="right">今天是：      
          <script language="JavaScript" type="text/javascript">
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i]  }
var d=new initArray(
" 星期日",
" 星期一",
" 星期二",
" 星期三",
" 星期四",
" 星期五",
" 星期六");
document.write(
"<font style='font-size:12px;font-family: verdana'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日",
d[today.getDay()+1],
"</font>" ); 
					</script></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:15px">
  <tr>
    <td><a href="{PHP_SELF}"><img src="{$BASE_V}images/c_dh1.gif" width="209" height="40" border="0" /></a></td>
    <td><a href="{PHP_SELF}?m=page" alt='关于我们'><img src="{$BASE_V}images/c_dh2.gif" width="173" height="40" border="0"/></a></td>
    <td><a href="{PHP_SELF}?m=news" alt='新闻动态'><img src="{$BASE_V}images/c_dh3.gif" width="169" height="40" border="0"/></a></td>
    <td><a href="{PHP_SELF}?m=image" alt="活动图库"><img src="{$BASE_V}images/c_dh4.gif" width="169" height="40" border="0" /></a></td>
    <td><a href="{PHP_SELF}?m=user" alt="会员博客"><img src="{$BASE_V}images/c_dh5.gif" height="40" border="0" /></a></td>
  </tr>
</table>
<script language="javascript">
function addfavorite()
{
   if (document.all)
   {
      window.external.addFavorite('$config[cfg_indexurl]','$config[cfg_webname]');
   }
   else if (window.sidebar)
   {
      window.sidebar.addPanel('$config[cfg_webname]', '$config[cfg_indexurl]',  "");
   }
}

</script> 